package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.Subject;
import com.ruoyi.system.domain.dto.SubjectDto;
import com.ruoyi.system.mapper.SubjectMapper;
import com.ruoyi.system.service.SubjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SubjectServiceImpl implements SubjectService {

    @Autowired
    private SubjectMapper subjectMapper;
    /**
     * 查询科目列表
     * @param subjectDto
     * @return
     */
    @Override
    public List<Subject> selectSubjectList(SubjectDto subjectDto) {
         List<Subject> subjectList = subjectMapper.selectSubjectList(subjectDto);
        return subjectList;
    }
}
